﻿using System;
using DataAccess;
using Entities;
using System.Data;

namespace Business
{
    public class StationBUS
    {
        public static DataTable GetAll_Station()
        {
            StationDAL stBus = new StationDAL();
            return stBus.Get_Station_All();
        }

        public static bool Insert_Station(Station temp)
        {
            StationDAL ST_DAL = new StationDAL();
            return ST_DAL.Insert_Station(temp);
        }

        public static bool Update_Station(Station temp)
        {
            StationDAL ST_DAL = new StationDAL();
            return ST_DAL.Update_Station(temp);
        }

        public static bool Delete_Station(Station temp)
        {
            StationDAL ST_DAL = new StationDAL();
            return ST_DAL.Delete_Station(temp);
        }
    }
}
